package com.example.paper1024.dao;

import com.example.paper1024.entity.Paper;

import java.util.List;

public interface PaperDao {
    Integer insertPaper(Paper paper);

    Integer updatePaper(Paper paper);

    Integer deletePaper(int id);

    Paper getPaperById(int id);

    List<Paper> getAllPapers();
}
